<template>
  <div id="couponxqlist"> 


          <el-table :data="datalist" style="width: 100%" :height="dtheight" :header-cell-style="{background:'#4F81BC',color:'white'}"
           :row-class-name="tableRowClassName"  :border="true">

               
                <el-table-column label="时间"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.time }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="派发账号"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.self_telphone }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="派发姓名"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.self_username }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="派发数量"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.number }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="所属团队"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.team_telphone }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="所属团队姓名"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.team_username }}</span>
                    </template>
                </el-table-column>
                   
  
            </el-table>  


   </div>
</template>

<script>

export default {
   name: 'couponxqlist',
   props:{
      datalist:{  
        //type:Array,
       default:()=>[]
     },
  },
  data () {
    return {
        dtheight:'500',  //窗口高度
    }
  },
   components:{

  },
  created(){
     this.dtheight = window.innerHeight - 259
      
  },
  mounted (){
    
  },
  methods: {
 



  }
}
</script>


<style scoped>

</style>